﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Model.Framework
{
    /// <summary>
    /// 授权表
    /// </summary>
    public class AuthorizationList
    {
        /// <summary>
        /// 编号
        /// </summary>
        [Key()]
        public Guid ID { get; set; }
        /// <summary>
        /// 角色编号
        /// </summary>
        public Guid? RID { get; set; }
        /// <summary>
        /// 权限编号
        /// </summary>
        public Guid? PID { get; set; }
        /// <summary>
        /// 是否允许
        /// </summary>
        public bool Allow { get; set; }
    }
}
